<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<form id="pagerForm" method="post" action="${base}/customer/contacts/list.do"   onsubmit="return ${targetType}Search(this);" >
<input type="hidden" name="targetType" value="${targetType}">
	<input type="hidden" name="targetId" value="${targetId}">
<input type="hidden" name="pageNum" value="${page.number}" />
	<input type="hidden" name="numPerPage" value="${page.size}" />
<div class="pageHeader">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					我的客户：<input type="text" name="keyword" />
				</td>
				<td>
					<select class="combox" name="province">
						<option value="">所有省市</option>
						<option value="北京">北京</option>
						<option value="上海">上海</option>
						<option value="天津">天津</option>
						<option value="重庆">重庆</option>
						<option value="广东">广东</option>
					</select>
				</td>
				<td>
					建档日期：<input type="text" class="date" readonly="true" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
			</ul>
		</div>
	</div>
	 
</div>
</form>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="${base}/customer/contacts/input.do?targetType=${targetType}&targetId=${targetId}" target="${targetType}" title="新增联系人" rel="contactsInput"><span>新增</span></a></li>
			<li><a class="delete" href="${base}/customer/contacts/delete.do?id={sid}&targetType=${targetType}&targetId=${targetId}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="${base}/customer/contacts/input.do?id={sid}&targetType=${targetType}&targetId=${targetId}" target="${targetType}" title="修改联系人" rel="contactsInput"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	
<table class="table"  width="100%"  layoutH="115"    targetType="${targetType}"  orderField="${w:firstOrder(page.sort).property}"  orderDirection="${w:firstOrder(page.sort).direction}">
		<thead>
			<tr>
				<th width="50">序号</th>
				<th>姓名</th>
				<th>性别</th>
				<th>职位</th>
				<th>移动电话</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="item" items="${w:it(page)}" varStatus="status">
			<tr target="sid" rel="${item.id}">
				<td>${page.number*page.size+status.count}</td>
		<td>${item.name}</td>
		<td><w:code type="sex" key="${item.sex}"/></td>
		<td>${item.pisition}</td>
		<td>${item.mophone}</td>
			</tr>
			</c:forEach>
					</tbody>
	</table>
 
<w:page page="${page}"></w:page>
</div>